// 1.使用commonjs的模块化规范
const {add, mul} = require('./js/mathUtil.js');
console.log(add(20, 30));
console.log(mul(20, 30));

// 2.使用ES6的模块化规范
import {name, age} from "./js/info";
console.log(name);
console.log(age);

// 3.依赖css文件,需要安装style-loader
require("./css/style.css");

// 4.依赖less文件,需要安装less-loader
require("./css/special.less");

document.writeln('<h2>aaa</h2>');

import Vue from "vue"
// import App from "./vue/app"
import App from "./vue/App.vue"

new Vue({
  el: "#app",
  template: "<App/>",
  components: {
    App
  }
})